


#ifdef	__SET_ERROR_H__
#define EXTR
#else
#define EXTR extern
#endif

enum
{
	NO_ERROR = 0,	ERROR = 1,      SE_ERROR = 3,	VVC_DE4_ERROR = 18,	Topgun_DE4_ERROR = 19,
};


typedef enum
{
	SE_STEP,
	DE4_STEP,
	ERROR_MAX,
}T_ERROR_STEP;



void Cmp_ErrorCheck(void);

UINT8 StandByErrorCheck(void);
UINT8 DE4ErrorCheck(void);

void ClearErrorState(void);


typedef UINT8 (*mapfunErrorCheck)(void);

static const mapfunErrorCheck ErrorCheck[] =
{
	StandByErrorCheck,
	DE4ErrorCheck,
};

EXTR UINT8 ErrorCheckFlag;
EXTR UINT8 PRE_ERROR;
EXTR UINT8 ERROR_State;


#undef  EXTR

